﻿using System.Collections.Generic;
using JLL.China.Infrastructure.RepositoryFramework;
using JLL.China.Model.DTO;

namespace JLL.China.Infrastructure.Repositories.Member
{
    public interface IMemberRepository : IRepository<Model.Member, int>
    {
        Model.Member FindByUsername(string username);
        IList<Model.Member> Search(MemberSearchCriteria searchCriteria);
        int CountMembers(MemberSearchCriteria searchCriteria);
        bool ValidateLogin(string username, string password);
    }
}
